libcups.so contains undefined reference to main