re-enabled non-asm.js shared lib support
Merge pull request #1528 from inolen/shared_lib_fixes

re-enabled non-asm.js shared lib support