Currently you use -m32 to build the library. This is pretty bad as it doesn't allow for recording 64bit applications. You should build 32bit and 64bit libs by default and give them suffxes accordingly.
Now it should build both libs at the same time. I can't figure out how to properly detect architecture. May end up moving to cmake from qmake.