fixed linker flags to use toxav functions