Fixed build rules to include /usr/local directories