add subdir-objects to automake options
fix ol_singleton.c