fPIC was causing issues. Fix by using the CMAKE variable instead. Signed-off-by: Rosen Penev <rosenp@gmail.com>