Missed return in setFrameLoop
-fPIC flag for x86_64 platform while building shared lib, also better detection of x86_64 arch.
Merge pull request #6 from Artistic-Games/issue-5

Issue 5