Add support for assembler code in libraries

Fix #195