fixed issue #3 (by removing --as-needed linker flag), we dont need it