Fixing library not found error