Fix if BUILD_SHARED_LIBS is OFF

The initial value for BUILD_SHARED_LIBS disrupts toolchain files.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>