Use CURRENT_SOURCE_DIR instead of SOURCE_DIR for try_compile