Fixed that only one whitelist option could be set
Fixed makefile librarys