cmake: assert that local modules come first
cmake: apple, set install name and use rpath